{#- 函数声明 #}
{%- if (table.regions.input_coils | length) > 0 -%}
static int _{{ slave_name | string | lower }}_get_input_coils(int slave_id, int address, int len, void *outbuf);
{% endif -%}
{% if (table.regions.holding_coils | length) > 0 -%}
static int _{{ slave_name | string | lower }}_get_holding_coils(int slave_id, int address, int len, void *outbuf);
static int _{{ slave_name | string | lower }}_set_holding_coils(int slave_id, int address, int len, void *inbuf);
{% endif -%}
{% if (table.regions.input_registers | length) > 0 -%}
static int _{{ slave_name | string | lower }}_get_input_registers(int slave_id, int address, int len, void *outbuf);
{% endif -%}
{% if (table.regions.holding_registers | length) > 0 -%}
static int _{{ slave_name | string | lower }}_get_holding_registers(int slave_id, int address, int len, void *outbuf);
static int _{{ slave_name | string | lower }}_set_holding_registers(int slave_id, int address, int len, void *inbuf);
{%- endif -%}